<?php require_once('../../Connections/shopcarda1.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  if (PHP_VERSION < 6) {
    $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
  }

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

mysql_select_db($database_shopcarda1, $shopcarda1);
$query_order_addr_r = "SELECT * FROM order_addr ORDER BY oa_id ASC";
$order_addr_r = mysql_query($query_order_addr_r, $shopcarda1) or die(mysql_error());
$row_order_addr_r = mysql_fetch_assoc($order_addr_r);
$totalRows_order_addr_r = mysql_num_rows($order_addr_r);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/admin_page.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>無標題文件</title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
#cantainer {
	width: 955px;
	margin-right: 33px;
	margin-left: 33px;
}
#header {
	width: 955px;
	margin-bottom: 10px;
	background-image: url(../../images/top_bg.png);
	height: 82px;
}
#body {
	width: 955px;
	margin-bottom: 10px;
}
#footer {
	width: 955px;
}
.style2 {color: #666666;
	font-size: 12px;
}
#contant_list {
	float: left;
	width: 180px;
	margin-right: 10px;
}
.style17 {color: #74B9E5; font-size: 14px; }
.style43 {font-size: 12px; color: #666666; font-weight: bold; }
#contant_body {
	float: right;
	width: 765px;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style16 {font-size: 14px}
.style4 {font-size: 12px}
#contant_body_1 {	width: 765px;
	margin-bottom: 10px;
}
#contant_body_1_1 {
	background-image: url(../images/admin_suppliera_change_text.png);
	height: 25px;
	width: 737px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}
#contant_body_1_3 {	width: 737px;
	margin-right: 10px;
	margin-bottom: 10px;
	margin-left: 10px;
}
#contant_body_hearder {
	width: 765px;
	margin-bottom: 10px;
	background-image: url(../images/admin_suppliera_change_header.png);
	height: 62px;
}
-->
</style>
<!-- InstanceEndEditable -->
</head>

<body>
<table width="1024" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><div id="cantainer">
      <div id="header"></div>
      <div id="body">
        <div id="contant_list">
          <table border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="center"><img src="../../images/index_12.png" width="180" height="54" /></td>
            </tr>
            <tr>
              <td><table width="180" border="0" align="center" cellpadding="0" cellspacing="0" background="../../images/index_12_20.png">
                  <tr>
                    <td width="10"></td>
                    <td><table border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left" class="style43">商品管理</td>
                        </tr>
                        <tr>
                          <td width="30" align="center">&nbsp;</td>
                          <td width="127" align="left" class="style2"><a href="../product/admin_product_add.html">新增商品</a><br />
                            <a href="../product/admin_product_change_list.html">產品資訊管理</a><br /></td>
                        </tr>
                        <tr>
                          <td colspan="2"><img src="../../images/dotsline.png" width="167" height="11" /></td>
                        </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left"><strong class="style43">會員管理</strong></td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                          <td align="left" class="style2"><a href="../member/company_member/admin_companym_add.html">新增公司會員</a><br />
                            <a href="../member/company_member/admin_companym_list.html">公司會員管理</a><br />
                            <a href="../member/personal_member/admin_pearsonal_list.html">個人會員管理</a></td>
                        </tr>
                        <tr>
                          <td colspan="2"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                        </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left" class="style43">供應商管理</td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                          <td align="left" class="style2"><a href="admin_supplier_brand.html">品牌管理</a></td>
                        </tr>
                        <tr>
                          <td colspan="2"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                        </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left" class="style43">進銷存管理</td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                          <td align="left" class="style2">進貨管理<br />
                            訂單管理</td>
                        </tr>
                        <tr>
                          <td colspan="2" align="center"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                          </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left" class="style43">紅利管理</td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                          <td align="left" class="style2">紅利設定<br />
                            公司會員紅利管理<br />
                            個人會員紅利管理</td>
                        </tr>
                        <tr>
                          <td colspan="2" align="center"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                        </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td align="left" class="style43">資訊管理</td>
                        </tr>
                        <tr>
                          <td align="center">&nbsp;</td>
                          <td align="left" class="style2">公告資訊管理<br />
                            公司資訊管理<br />
                            客服資訊管理<br />
                            Banner管理</td>
                        </tr>
                        <tr>
                          <td colspan="2"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                        </tr>
                        <tr>
                          <td align="center"><span class="style17">＞</span></td>
                          <td class="style43">權限管理</td>
                        </tr>
                        <tr>
                          <td>&nbsp;</td>
                          <td class="style2">新增使用者<br />
                            使用者設定<br />
                            群組設定<br />
                            使用者權限設定</td>
                        </tr>
                        <tr>
                          <td colspan="2"><img src="../../images/dotsline.png" alt="" width="167" height="11" /></td>
                        </tr>
                    </table></td>
                    <td width="10"></td>
                  </tr>
              </table></td>
            </tr>
            <tr>
              <td width="180" height="28" align="center"><table width="0" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td width="180" height="28" align="center"><img src="../../images/index_20.png" width="180" height="28" /></td>
                  </tr>
              </table></td>
            </tr>
          </table>
        </div>
        <!-- InstanceBeginEditable name="EditRegion1" -->
        <div id="contant_body">
          <div id="contant_body2">
            <div id="contant_body_hearder"></div>
            <div id="contant_body_1">
              <table cellpadding="0" cellspacing="0">
                <tr>
                  <td colspan="3"><img src="../../member/img/member_body_up.jpg" width="765" height="9" /></td>
                </tr>
                <tr>
                  <td width="4" background="../../member/img/member_body_left.jpg">&nbsp;</td>
                  <td width="757"><div id="contant_body_1_1"></div>
                      <div id="contant_body_1_3">
                        <table width="737" cellspacing="0" cellpadding="5">
                          
                          <tr>
                            <td class="style16">
                            <table width="725" cellspacing="0" cellpadding="5">
                                <tr>
                                  <td width="140" align="center">&nbsp;</td>
                                  <td width="449" align="left"><form id="form1" name="form1" method="post" action="">
                                  </form>                                  </td>
                                  <td width="104" align="center"><form id="form2" name="form2" method="post" action="">
<input type="button" value="+" onclick="openWin()"><script>
function openWin(){
	window.open("admin_suppliera_change_list/admin_suppliera_change_list_add.php","_new","width=750,height=500,top=0,left=100,menubar=no,toolbar=no,scrollbars=yes");		

}

</script>
                                  </form>                                  </td>
                                </tr>
                              </table>
                            <?php do { ?>
                              <table width="725" cellspacing="0" cellpadding="5">
                                <tr>
                                  <td width="140" align="center">出貨地址</td>
                                  <td width="449" align="left"><form id="form1" name="form1" method="post" action="">
                                    <?php echo $row_order_addr_r['order_addr']; ?>
                                    </form>                                  </td>
                                  <td width="104" align="center"><form id="form2" name="form2" method="post" action="">
                                    修改&nbsp;&nbsp;刪除
                                    </form>                                  </td>
                                  </tr>
                              </table>
                              <?php } while ($row_order_addr_r = mysql_fetch_assoc($order_addr_r)); ?></td>
                          </tr>
                        </table>
                    </div>
                    </td>
                  <td width="4" background="../../member/img/member_body_right.jpg">&nbsp;</td>
                </tr>
                <tr>
                  <td height="9" colspan="3"><img src="../../member/img/member_body_down.jpg" width="765" height="9" /></td>
                </tr>
              </table>
            </div>
          </div>
        </div>
        <!-- InstanceEndEditable --></div>
      <div id="footer">
        <table width="955" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td width="230" height="118" align="center"><a href="index.html"><img width="200" height="66" alt="logo位置" style="background-color: #FF0000" /></a></td>
            <td width="10" align="center"><img src="../../images/end_Separateline1.png" width="1" height="80" /></td>
            <td width="715" valign="middle"><table width="715" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="40" valign="top" class="style2"><table border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td width="50" align="center" class="style2"></td>
                        <td>本平台中台灣各店家所銷售的商品或服務，都是由各該店家所銷售或提供。 | 電話 : 02-2275-3588 | 傳真 : 02-2275-3788<br/>
                          微衡科技　版權所有 ⓒ 2011 Microbalance. All Rights Reserved.</td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
        </table>
      </div>
      </div></td>
  </tr>
</table>
</body>
<!-- InstanceEnd --></html>
<?php
mysql_free_result($order_addr_r);
?>
